package com.app.constants;

/**
 * 切面顺序配置 : 越小越前 越大越后
 *
 * @author ZhengJunJie
 */
public class AspectSequenceConstant {

    private AspectSequenceConstant() {
    }

    /**
     * 处理登陆切面
     */
    static final int ORDER_RESET_CACHE_EXPIRE = -1000;

    /**
     * 处理登陆切面
     */
    static final int ORDER_NEED_ALREADY_LOGIN = -10;

    /**
     * 频繁请求频率切面
     */
    static final int ORDER_FREQUENT_REQUEST_LIMIT = 10;

    /**
     * 频繁请求次数切面
     */
    static final int ORDER_TIMES_REQUEST_LIMIT = 11;

    /**
     * 处理控制层切面
     */
    public static final int ORDER_CONTROLLER = 100;

    /**
     * 全局异常日志捕获
     */
    public static final int ORDER_GLOBAL_EXCEPTION_LOG_OUT = 101;

}
